<?php include_once('header.php');?>
	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">
			<script type="text/javascript">
				try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
			</script>
			<ul class="breadcrumb">
				<li>
					<i class="icon-home home-icon"></i>
					会员管理
				</li>
				<li>
					用户列表
				</li>
			</ul>
		</div>
		<div class="page-content">
			<div class="page-header">
				<h1 class="blue"><i class="icon-edit"></i> 会员详情</h1>
			</div>
			<div class="row">
				<div class="col-xs-12">
					<form class="form-horizontal" enctype="multipart/form-data" role="form" method="post">
						<input type="hidden" id="id" name="id" value="<?php echo $data['id'];?>" />
						<div class="form-group">
							<label for="title" class="col-sm-1 control-label">微信昵称:</label>
							<div class="col-sm-6">
								<input type="text" class="form-control" readonly="readonly" value="<?php echo $data['user_nick'];?>">
							</div>
						</div>													
						<div class="form-group">
							<label  class="col-sm-1 control-label">微信头像:</label>
							<div class="col-sm-4">
								<img src="<?php echo $data['avatar'];?>" style="max-height:160px;max-width:835px;" />
							</div>
						</div>
						<div class="form-group">
							<label for="title" class="col-sm-1 control-label">姓名:</label>
							<div class="col-sm-6">
								<input type="text" class="form-control" readonly="readonly" value="<?php echo $data['username'];?>">
							</div>
						</div>
						<div class="form-group">
							<label for="title" class="col-sm-1 control-label">手机号码:</label>
							<div class="col-sm-6">
								<input type="text" class="form-control" readonly="readonly" value="<?php echo $data['phone'];?>">
							</div>
						</div>
						<div class="form-group">
							<label for="title" class="col-sm-1 control-label">联系地址:</label>
							<div class="col-sm-6">				
								<input type="text" class="form-control" readonly="readonly" value="<?php echo $data['areas'];?>">
							</div>							
						</div>
						<div class="form-group">
							<label for="title" class="col-sm-1 control-label">详细地址:</label>
							<div class="col-sm-6">
								<input type="text" class="form-control" readonly="readonly" value="<?php echo $data['address'];?>">
							</div>
						</div>
					 	<div class="form-group">
					   		<div class="col-sm-offset-1 col-sm-10">
								<button type="submit" id="cancel" class="btn btn-primary">返回列表</button>
								<a href="/admin/user/edit_page/<?php echo $data['id'];?>" type="submit" id="cancel" class="btn btn-primary">编辑信息</a>
							</div>
					  	</div>
					</form>	
				</div>
			</div>					
		</div>													
	</div>
<?php include_once('content.php');?>
	<link href="/public_source/www/assets/css/ace.min.css" rel="stylesheet" />	
	<link href="/public_source/www/assets/css/jquery.tag-editor.css" rel="stylesheet"/>
    <script src="/public_source/www/assets/js/bootbox.min.js"></script>  
	<script src="/public_source/www/assets/js/jquery.tag-editor.min.js"></script>
	<script src="/public_source/www/js/areas.js"></script>
<?php include_once('footer.php');?>	
<script type="text/javascript">
	$(document).ready(function(){
		$("#cancel").click(function() {
			window.location.replace('/admin/user/user_list');
			return false;
		});
});
</script>		